package com.cis.teacher.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/checkin")
public class CheckinController {

    private String prefix = "/checkin";

    /**
     * 签到信息界面
     *
     */
    @GetMapping("/information")
    public String information(){
        return prefix + "/information";
    }

    /**
     * 签到详细信息
     *
     */
    @GetMapping("/detail")
    public String detail(){
        //本次签到详细信息
        return prefix + "/detail";
    }

    /**
     * 设置签到
     */
    @GetMapping("/add")
    public String add(){
        return prefix + "/add";
    }


}
